package com.wtb.javatool.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wtb.javatool.dao.SchoolMapper;
import com.wtb.javatool.entity.School;
import com.wtb.javatool.service.SchoolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SchoolServiceImpl extends ServiceImpl<SchoolMapper, School> implements SchoolService {
    @Autowired
    private SchoolMapper schoolMapper;

    @Override
    public List<School> getAllSchool() {
        return schoolMapper.getAllSchool();
    }
}
